﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Sugar.hisEnties
{
    ///<summary>
    ///此表在项目中可以是一个视图
    ///</summary>
    [SugarTable("EMR_JCBG")]
    public partial class EMR_JCBG
    {
           public EMR_JCBG(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public decimal JLXH {get;set;}

           /// <summary>
           /// Desc:就诊类型 1：门诊 2：住院
           /// Default:
           /// Nullable:False
           /// </summary>           
           public decimal JZLX {get;set;}

           /// <summary>
           /// Desc:门诊：就诊序号（YS_MZ_JZLS.JZXH） 住院：住院号（ZY_BRRY.ZYH）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public decimal JZXH {get;set;}

           /// <summary>
           /// Desc:和JZXH冗余，避免ORACLE中因强类型转换而浪费数据库资源
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string JZHM {get;set;}

           /// <summary>
           /// Desc:门诊：门诊号码（MS_BRDA.MZHM） 住院：住院号码（ZY_BRRY.ZYHM）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string BRBH {get;set;}

           /// <summary>
           /// Desc:申请单唯一号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? SQDH {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? KDRQ {get;set;}

           /// <summary>
           /// Desc:科室名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string KDKS {get;set;}

           /// <summary>
           /// Desc:医生姓名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string KDYS {get;set;}

           /// <summary>
           /// Desc:如:B超，CT
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string JCLX {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JCJG {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string LCZD {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string YXZT {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BGKS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BGYS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? BGRQ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:1
           /// Nullable:False
           /// </summary>           
           public decimal JGID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string TJCJG {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string HYXJCJG {get;set;}

    }
}
